# FILE: Image.py
# DESC: Classs that encapsulates web image entity
#

from WebEntity import WebEntity
from infra.logging import logger

class Image(WebEntity):

	def __init__(self, src, width, height):
		self.src_ = src
		self.width_ = width
		self.height_ = height
		log = logger.getLogger()
		log.debug("%s = %s" % (self, self.__dict__))


	def getSource(self):
		return self.src_


	def dump(self):
		return self.__dict__

